package cn.chiship.bs.api.biz.service;

import cn.chiship.bs.api.core.enums.LoginTypeEnum;
import cn.chiship.sdk.core.base.BaseResult;
import cn.chiship.bs.api.biz.entity.UpmsUser;
import cn.chiship.bs.api.biz.entity.UpmsUserExample;

/**
 * 用户接口服务
 *
 * @author lj
 */
public interface UpmsUserService extends BaseService<UpmsUser, UpmsUserExample> {
    /**
     * 登录
     *
     * @param sessionId
     * @param username
     * @param password
     * @param loginIp
     * @param loginTypeEnum
     * @return
     */
    BaseResult login(String sessionId, String username, String password, String loginIp, LoginTypeEnum loginTypeEnum);
}
